﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NfsModel
{
	/// <summary>
	/// authorization:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class authorization
	{
		public authorization()
		{}
		#region Model
		private int _id;
		private int? _agency_id;
		private DateTime? _start_time;
		private DateTime? _end_time;
		private int? _valid;
		private DateTime? _time;
		/// <summary>
		/// auto_increment
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? agency_id
		{
			set{ _agency_id=value;}
			get{return _agency_id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? start_time
		{
			set{ _start_time=value;}
			get{return _start_time;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? end_time
		{
			set{ _end_time=value;}
			get{return _end_time;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? valid
		{
			set{ _valid=value;}
			get{return _valid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? time
		{
			set{ _time=value;}
			get{return _time;}
		}




        ///////////冗余属性
        public string AgencyName { get; set; }








		#endregion Model

	}
}

